WprAddons\Modules\ThemeBuilder\Woocommerce\ProductAddToCart\Widgets\Wpr_Product_AddToCart S

Total Complexity 21
Dependencies 4
Dependents 0
Total lines 2,104
Lines of code 1,891
Logical lines of code 190
Comment lines 23
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
register_controls()
D
3
1 1,801
render()
A
43 9 53
get_categories()
S
79 2 3
get_name()
S
82 1 3
get_title()
S
79 1 3
get_icon()
S
82 1 3
get_keywords()
S
79 1 3
get_script_depends()
S
79 1 3
change_clear_text()
S
78 1 3
custom_wc_add_to_cart_message()
S
75 1 4
action_woocommerce_add_to_cart()
S
83 1 3
woocommerce_header_add_to_cart_fragment()
S
66 1 9